package com.bzframework.network.tcp.parser.strategies;

import com.bzframework.network.tcp.parser.PayloadParserProvider;
import com.bzframework.network.tcp.parser.PayloadParserType;
import io.vertx.core.buffer.Buffer;

/**
 * 直接解析数据包 不处理粘拆包
 */
public class DirectPayloadParserStrategy implements PayloadParserProvider {

    @Override
    public PayloadParserType getPayloadParser() {
        return PayloadParserType.DIRECT;
    }

    @Override
    public void handle(Buffer event) {

    }
}
